/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rcfi.lankaweb.linklk.service;

/**
 *
 * @author priyantha
 */
import java.util.List;
import com.rcfi.lankaweb.linklk.domain.*;
import com.rcfi.lankaweb.linklk.model.user;
import java.util.ArrayList;

public class userService implements IuserService {

    @Override
    public void add(user user) {
        //Persist the user object here.
        System.out.println("User added successfully");

    }

    @SuppressWarnings("unchecked")
    @Override
    public List<country> getAllCountries() {
        List<country> countryList = new ArrayList<country>();
        countryList.add(new country(187, "Sri Lanka"));
        countryList.add(new country(1, "Afghanistan"));
        countryList.add(new country(2, "Albania"));
        countryList.add(new country(3, "Algeria"));
        countryList.add(new country(4, "American"));
        countryList.add(new country(5, "Andorra"));
        countryList.add(new country(6, "Angola"));
        countryList.add(new country(7, "Anguilla"));
        countryList.add(new country(8, "Antigua and Barbuda"));
        countryList.add(new country(9, "Argentina"));
        countryList.add(new country(10, "Armenia"));
        countryList.add(new country(11, "Aruba"));
        countryList.add(new country(12, "Australia"));
        countryList.add(new country(13, "Austria"));
        countryList.add(new country(14, "Azerbaijan"));
        countryList.add(new country(15, "Bahamas"));
        countryList.add(new country(16, "Bahrain"));
        countryList.add(new country(17, "Bangladesh"));
        countryList.add(new country(18, "Barbados"));
        countryList.add(new country(19, "Belarus"));
        countryList.add(new country(20, "Belgium"));
        countryList.add(new country(21, "Belize"));
        countryList.add(new country(22, "Benin"));
        countryList.add(new country(23, "Bermuda"));
        countryList.add(new country(24, "Bhutan"));
        countryList.add(new country(25, "Bolivia"));
        countryList.add(new country(26, "Bosnia and Herzegovina"));
        countryList.add(new country(27, "Botswana"));
        countryList.add(new country(28, "Brazil"));
        countryList.add(new country(29, "Brunei Darussalam"));
        countryList.add(new country(30, "Bulgaria"));
        countryList.add(new country(31, "Burkina Faso"));
        countryList.add(new country(32, "Burundi"));
        countryList.add(new country(33, "Cambodia"));
        countryList.add(new country(34, "Cameroon"));
        countryList.add(new country(35, "Canada"));
        countryList.add(new country(36, "Cape Verde"));
        countryList.add(new country(37, "Cayman Islands"));
        countryList.add(new country(38, "Central African Republic"));
        countryList.add(new country(39, "Chad"));
        countryList.add(new country(40, "Chile"));
        countryList.add(new country(41, "China"));
        countryList.add(new country(42, "Colombia"));
        countryList.add(new country(43, "Comoros"));
        countryList.add(new country(44, "Congo"));
        countryList.add(new country(45, "Cook Islands"));
        countryList.add(new country(46, "Costa Rica"));
        countryList.add(new country(47, "Cote D'Ivoire"));
        countryList.add(new country(48, "Croatia"));
        countryList.add(new country(49, "Cuba"));
        countryList.add(new country(50, "Cyprus"));
        countryList.add(new country(51, "Czech Republic"));
        countryList.add(new country(52, "Denmark"));
        countryList.add(new country(53, "Djibouti"));
        countryList.add(new country(54, "Dominica"));
        countryList.add(new country(55, "Dominican"));
        countryList.add(new country(56, "Ecuador"));
        countryList.add(new country(57, "Egypt"));
        countryList.add(new country(58, "El Salvador"));
        countryList.add(new country(59, "Equatorial Guinea"));
        countryList.add(new country(60, "Eritrea"));
        countryList.add(new country(61, "Estonia"));
        countryList.add(new country(62, "Ethiopia"));
        countryList.add(new country(63, "Falkland Islands (Malvinas)"));
        countryList.add(new country(64, "Faroe Islands"));
        countryList.add(new country(65, "Fiji"));
        countryList.add(new country(66, "Finland"));
        countryList.add(new country(67, "France"));
        countryList.add(new country(68, "French Guiana"));
        countryList.add(new country(69, "French Polynesia"));
        countryList.add(new country(70, "Gabon"));
        countryList.add(new country(71, "Gambia"));
        countryList.add(new country(72, "Georgia"));
        countryList.add(new country(73, "Germany"));
        countryList.add(new country(74, "Ghana"));
        countryList.add(new country(75, "Gibraltar"));
        countryList.add(new country(76, "Greece"));
        countryList.add(new country(77, "Colombia"));
        countryList.add(new country(78, "Greenland"));
        countryList.add(new country(79, "Grenada"));
        countryList.add(new country(80, "Guadeloupe"));
        countryList.add(new country(81, "Guam"));
        countryList.add(new country(82, "Guatemala"));
        countryList.add(new country(83, "Guinea"));
        countryList.add(new country(84, "Guinea-Bissau"));
        countryList.add(new country(85, "Guyana"));
        countryList.add(new country(86, "Haiti"));
        countryList.add(new country(87, "Holy See (Vatican City State)"));
        countryList.add(new country(88, "Honduras"));
        countryList.add(new country(89, "Hong Kong"));
        countryList.add(new country(90, "Hungary"));
        countryList.add(new country(91, "Iceland"));
        countryList.add(new country(92, "India"));
        countryList.add(new country(93, "Indonesia"));
        countryList.add(new country(94, "Iran"));
        countryList.add(new country(95, "Iraq"));
        countryList.add(new country(96, "Ireland"));
        countryList.add(new country(97, "Israel"));
        countryList.add(new country(98, "Italy"));
        countryList.add(new country(99, "Jamaica"));
        countryList.add(new country(100, "Japan"));
        countryList.add(new country(101, "Japan"));
        countryList.add(new country(102, "Jordan"));
        countryList.add(new country(103, "Kazakhstan"));
        countryList.add(new country(104, "Kenya"));
        countryList.add(new country(105, "Kiribati"));
        countryList.add(new country(106, "Korea"));
        countryList.add(new country(107, "Korea, Republic of"));
        countryList.add(new country(108, "Kuwait"));
        countryList.add(new country(109, "Kyrgyzstan"));
        countryList.add(new country(110, "Lao People's Democratic Republic"));
        countryList.add(new country(111, "Latvia"));
        countryList.add(new country(112, "Lebanon"));
        countryList.add(new country(113, "Lesotho"));
        countryList.add(new country(114, "Libyan Arab Jamahiriya"));
        countryList.add(new country(115, "Liechtenstein"));
        countryList.add(new country(116, "Lithuania"));
        countryList.add(new country(117, "Luxembourg"));
        countryList.add(new country(118, "Macedonia"));
        countryList.add(new country(119, "Madagascar"));
        countryList.add(new country(120, "Malawi"));
        countryList.add(new country(121, "Malaysia"));
        countryList.add(new country(122, "Maldives"));
        countryList.add(new country(123, "Mali"));
        countryList.add(new country(124, "Malta"));
        countryList.add(new country(125, "Marshall Islands"));
        countryList.add(new country(126, "Martinique"));
        countryList.add(new country(127, "Mauritania"));
        countryList.add(new country(128, "Mexico"));
        countryList.add(new country(129, "Micronesia"));
        countryList.add(new country(130, "Moldova, Republic of"));
        countryList.add(new country(131, "Monaco"));
        countryList.add(new country(132, "Mongolia"));
        countryList.add(new country(133, "Montserrat"));
        countryList.add(new country(134, "Morocco"));
        countryList.add(new country(135, "Mozambique"));
        countryList.add(new country(136, "Myanmar"));
        countryList.add(new country(137, "Namibia"));
        countryList.add(new country(138, "Nauru"));
        countryList.add(new country(139, "Nepal"));
        countryList.add(new country(140, "Netherlands"));
        countryList.add(new country(141, "Netherlands Antilles"));
        countryList.add(new country(142, "New Caledonia"));
        countryList.add(new country(143, "New Zealand"));
        countryList.add(new country(144, "Nicaragua"));
        countryList.add(new country(145, "Niger"));
        countryList.add(new country(146, "Nigeria"));
        countryList.add(new country(147, "Niue"));
        countryList.add(new country(148, "Norfolk Island"));
        countryList.add(new country(149, "Northern Mariana Islands"));
        countryList.add(new country(150, "Norway"));
        countryList.add(new country(151, "Oman"));
        countryList.add(new country(152, "Pakistan"));
        countryList.add(new country(153, "Palau"));
        countryList.add(new country(154, "Panama"));
        countryList.add(new country(156, "Papua New Guinea"));
        countryList.add(new country(157, "Paraguay"));
        countryList.add(new country(158, "Peru"));
        countryList.add(new country(159, "Philippines"));
        countryList.add(new country(160, "Pitcairn"));
        countryList.add(new country(161, "Poland"));
        countryList.add(new country(162, "Portugal"));
        countryList.add(new country(163, "Puerto Rico"));
        countryList.add(new country(164, "Qatar"));
        countryList.add(new country(165, "Reunion"));
        countryList.add(new country(166, "Romania"));
        countryList.add(new country(167, "Russian Federation"));
        countryList.add(new country(168, "Ruwanda"));
        countryList.add(new country(169, "Saint Helena"));
        countryList.add(new country(170, "Saint Kitts and Nevis"));
        countryList.add(new country(171, "Saint Lucia"));
        countryList.add(new country(172, "Saint Pierre and Miquelon"));
        countryList.add(new country(173, "Saint Vincent and the Grenadines"));
        countryList.add(new country(174, "Samoa"));
        countryList.add(new country(175, "San Marino"));
        countryList.add(new country(176, "Sao Tome and Principe"));
        countryList.add(new country(177, "Saudi Arabia"));
        countryList.add(new country(178, "Senegal"));
        countryList.add(new country(179, "Seychelles"));
        countryList.add(new country(180, "Sierra Leone"));
        countryList.add(new country(181, "Singapore"));
        countryList.add(new country(182, "Slovakia"));
        countryList.add(new country(183, "Solomon Islands"));
        countryList.add(new country(184, "Somalia"));
        countryList.add(new country(185, "South Africa"));
        countryList.add(new country(186, "Spain"));
        countryList.add(new country(188, "Sudan"));
        countryList.add(new country(189, "Suriname"));
        countryList.add(new country(190, "Svalbard and Jan Mayen"));
        countryList.add(new country(191, "Swaziland"));
        countryList.add(new country(192, "Syrian Arab Republic"));
        countryList.add(new country(193, "Taiwan, Province of China"));
        countryList.add(new country(194, "Tajikistan"));
        countryList.add(new country(195, "Tanzania"));
        countryList.add(new country(196, "Togo"));
        countryList.add(new country(197, "Tokelau"));
        countryList.add(new country(198, "Tonga"));
        countryList.add(new country(199, "Trinidad and Tobago"));
        countryList.add(new country(200, "Tunisia"));
        countryList.add(new country(201, "Turkey"));
        countryList.add(new country(202, "Turkmenistan"));
        countryList.add(new country(203, "Turks and Caicos Islands"));
        countryList.add(new country(204, "Tuvalu"));
        countryList.add(new country(205, "Uganda"));
        countryList.add(new country(206, "Ukraine"));
        countryList.add(new country(207, "United Arab Emirates"));
        countryList.add(new country(208, "United Kingdom"));
        countryList.add(new country(209, "United States"));
        countryList.add(new country(210, "Uruguay"));
        countryList.add(new country(211, "Uzbekistan"));
        countryList.add(new country(212, "Vanuatu"));
        countryList.add(new country(213, "Venezuela"));
        countryList.add(new country(214, "Viet Nam"));
        countryList.add(new country(215, "Virgin Islands, British"));
        countryList.add(new country(216, "Virgin Islands, U.S."));
        countryList.add(new country(217, "Wallis and Futuna"));
        countryList.add(new country(218, "Western Sahara"));
        countryList.add(new country(219, "Yemen"));
        countryList.add(new country(220, "Zambia"));
        countryList.add(new country(221, "Zimbabwe"));

        return countryList;
    }
}
